﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KDS.Mes.Mes.SeatPositions
{
    /// <summary>
    /// 座椅位置信息
    /// </summary>
    [Table("T_BomSeatPosition")]
    public class SeatPosition : FullAuditedEntity
    {
        /// <summary>
        /// 位置名称
        /// </summary>
        [Required]
        [MaxLength(20)]
        public string SeatPositionName { get; set; }

        /// <summary>
        /// 位置代码
        /// </summary>
        [Required]
        [MaxLength(20)]
        public string SeatPositionCode { get; set; }

        public SeatPosition(string seatPositionName, string seatPositionCode)
        {
            SeatPositionName = seatPositionName;
            SeatPositionCode = seatPositionCode;

        }

        public SeatPosition()
        {

        }
    }
}
